package myJs

import scala.scalajs.js.annotation.{JSExport, JSExportTopLevel}
import myJs.myPkg.jquery._

/**
 * Created by yz on 2019/4/25
 */
@JSExportTopLevel("MyApp")
object MyApp {

  @JSExport("init")
  def init = {
    val shareTitle = "广州市疾病预防控制中心本地样本致病微生物核酸序列数据库"
    val beforeTitle = $("#shareTitle").text()
    $("#shareTitle").text(s"${beforeTitle}-${shareTitle}")

  }

}
